﻿// Version:1
// Author:Sanket Naik
// Date:July-21-2010 
// Comments:
// 
// 
// 


using System;
using System.Runtime.Serialization;

namespace ManagedServices.Common.DataTransferObject
{
    /// <summary>
    /// Common DTO class containing all the Common Properties
    /// </summary>
    public interface ICommonDto
    {
        /// <summary>
        /// Gets the Unique Key ID associated with the Instance of the Data Transfer Object
        /// </summary>
        [DataMember]
        Guid KeyId { get; set; }

        /// <summary>
        /// Which User Created this
        /// </summary>
        [DataMember]
        Guid CreatedBy { get; set; }

        /// <summary>
        /// Which User Modified this
        /// </summary>
        [DataMember]
        Nullable<Guid> ModifiedBy { get; set; }

        /// <summary>
        /// When was the record Created
        /// </summary>
        [DataMember]
        DateTime CreatedOn { get; set; }

        /// <summary>
        /// When was the record Modified
        /// </summary>
        [DataMember]
        Nullable<DateTime> ModifiedOn { get; set; }
    }
}